Optimal. Leaf size=132 \[ \frac {x \sqrt {d+e x^2} \left (8 a e^2-2 b d e+c d^2\right )}{16 e^2}+\frac {d \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right ) \left (8 a e^2-2 b d e+c d^2\right )}{16 e^{5/2}}-\frac {x \left (d+e x^2\right )^{3/2} (c d-2 b e)}{8 e^2}+\frac {c x^3 \left (d+e x^2\right )^{3/2}}{6 e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 132, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {1159, 388, 195, 217, 206} \[ \frac {x \sqrt {d+e x^2} \left (8 a e^2-2 b d e+c d^2\right )}{16 e^2}+\frac {d \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right ) \left (8 a e^2-2 b d e+c d^2\right )}{16 e^{5/2}}-\frac {x \left (d+e x^2\right )^{3/2} (c d-2 b e)}{8 e^2}+\frac {c x^3 \left (d+e x^2\right )^{3/2}}{6 e} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 206
Rule 217
Rule 388
Rule 1159
Rubi steps
\begin {align*} \int \sqrt {d+e x^2} \left (a+b x^2+c x^4\right ) \, dx &=\frac {c x^3 \left (d+e x^2\right )^{3/2}}{6 e}+\frac {\int \sqrt {d+e x^2} \left (6 a e-3 (c d-2 b e) x^2\right ) \, dx}{6 e}\\ &=-\frac {(c d-2 b e) x \left (d+e x^2\right )^{3/2}}{8 e^2}+\frac {c x^3 \left (d+e x^2\right )^{3/2}}{6 e}+\frac {1}{8} \left (8 a+\frac {d (c d-2 b e)}{e^2}\right ) \int \sqrt {d+e x^2} \, dx\\ &=\frac {1}{16} \left (8 a+\frac {d (c d-2 b e)}{e^2}\right ) x \sqrt {d+e x^2}-\frac {(c d-2 b e) x \left (d+e x^2\right )^{3/2}}{8 e^2}+\frac {c x^3 \left (d+e x^2\right )^{3/2}}{6 e}+\frac {1}{16} \left (d \left (8 a+\frac {d (c d-2 b e)}{e^2}\right )\right ) \int \frac {1}{\sqrt {d+e x^2}} \, dx\\ &=\frac {1}{16} \left (8 a+\frac {d (c d-2 b e)}{e^2}\right ) x \sqrt {d+e x^2}-\frac {(c d-2 b e) x \left (d+e x^2\right )^{3/2}}{8 e^2}+\frac {c x^3 \left (d+e x^2\right )^{3/2}}{6 e}+\frac {1}{16} \left (d \left (8 a+\frac {d (c d-2 b e)}{e^2}\right )\right ) \operatorname {Subst}\left (\int \frac {1}{1-e x^2} \, dx,x,\frac {x}{\sqrt {d+e x^2}}\right )\\ &=\frac {1}{16} \left (8 a+\frac {d (c d-2 b e)}{e^2}\right ) x \sqrt {d+e x^2}-\frac {(c d-2 b e) x \left (d+e x^2\right )^{3/2}}{8 e^2}+\frac {c x^3 \left (d+e x^2\right )^{3/2}}{6 e}+\frac {d \left (c d^2-2 b d e+8 a e^2\right ) \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{16 e^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.23, size = 121, normalized size = 0.92 \[ \frac {\sqrt {d+e x^2} \left (\frac {3 \sqrt {d} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \left (8 a e^2-2 b d e+c d^2\right )}{\sqrt {\frac {e x^2}{d}+1}}+\sqrt {e} x \left (6 e \left (4 a e+b \left (d+2 e x^2\right )\right )+c \left (-3 d^2+2 d e x^2+8 e^2 x^4\right )\right )\right )}{48 e^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.99, size = 232, normalized size = 1.76 \[ \left [\frac {3 \, {\left (c d^{3} - 2 \, b d^{2} e + 8 \, a d e^{2}\right )} \sqrt {e} \log \left (-2 \, e x^{2} - 2 \, \sqrt {e x^{2} + d} \sqrt {e} x - d\right ) + 2 \, {\left (8 \, c e^{3} x^{5} + 2 \, {\left (c d e^{2} + 6 \, b e^{3}\right )} x^{3} - 3 \, {\left (c d^{2} e - 2 \, b d e^{2} - 8 \, a e^{3}\right )} x\right )} \sqrt {e x^{2} + d}}{96 \, e^{3}}, -\frac {3 \, {\left (c d^{3} - 2 \, b d^{2} e + 8 \, a d e^{2}\right )} \sqrt {-e} \arctan \left (\frac {\sqrt {-e} x}{\sqrt {e x^{2} + d}}\right ) - {\left (8 \, c e^{3} x^{5} + 2 \, {\left (c d e^{2} + 6 \, b e^{3}\right )} x^{3} - 3 \, {\left (c d^{2} e - 2 \, b d e^{2} - 8 \, a e^{3}\right )} x\right )} \sqrt {e x^{2} + d}}{48 \, e^{3}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 106, normalized size = 0.80 \[ -\frac {1}{16} \, {\left (c d^{3} - 2 \, b d^{2} e + 8 \, a d e^{2}\right )} e^{\left (-\frac {5}{2}\right )} \log \left ({\left | -x e^{\frac {1}{2}} + \sqrt {x^{2} e + d} \right |}\right ) + \frac {1}{48} \, {\left (2 \, {\left (4 \, c x^{2} + {\left (c d e^{3} + 6 \, b e^{4}\right )} e^{\left (-4\right )}\right )} x^{2} - 3 \, {\left (c d^{2} e^{2} - 2 \, b d e^{3} - 8 \, a e^{4}\right )} e^{\left (-4\right )}\right )} \sqrt {x^{2} e + d} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 175, normalized size = 1.33 \[ \frac {\left (e \,x^{2}+d \right )^{\frac {3}{2}} c \,x^{3}}{6 e}+\frac {a d \ln \left (\sqrt {e}\, x +\sqrt {e \,x^{2}+d}\right )}{2 \sqrt {e}}-\frac {b \,d^{2} \ln \left (\sqrt {e}\, x +\sqrt {e \,x^{2}+d}\right )}{8 e^{\frac {3}{2}}}+\frac {c \,d^{3} \ln \left (\sqrt {e}\, x +\sqrt {e \,x^{2}+d}\right )}{16 e^{\frac {5}{2}}}+\frac {\sqrt {e \,x^{2}+d}\, a x}{2}-\frac {\sqrt {e \,x^{2}+d}\, b d x}{8 e}+\frac {\sqrt {e \,x^{2}+d}\, c \,d^{2} x}{16 e^{2}}+\frac {\left (e \,x^{2}+d \right )^{\frac {3}{2}} b x}{4 e}-\frac {\left (e \,x^{2}+d \right )^{\frac {3}{2}} c d x}{8 e^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.98, size = 153, normalized size = 1.16 \[ \frac {{\left (e x^{2} + d\right )}^{\frac {3}{2}} c x^{3}}{6 \, e} + \frac {1}{2} \, \sqrt {e x^{2} + d} a x - \frac {{\left (e x^{2} + d\right )}^{\frac {3}{2}} c d x}{8 \, e^{2}} + \frac {\sqrt {e x^{2} + d} c d^{2} x}{16 \, e^{2}} + \frac {{\left (e x^{2} + d\right )}^{\frac {3}{2}} b x}{4 \, e} - \frac {\sqrt {e x^{2} + d} b d x}{8 \, e} + \frac {c d^{3} \operatorname {arsinh}\left (\frac {e x}{\sqrt {d e}}\right )}{16 \, e^{\frac {5}{2}}} - \frac {b d^{2} \operatorname {arsinh}\left (\frac {e x}{\sqrt {d e}}\right )}{8 \, e^{\frac {3}{2}}} + \frac {a d \operatorname {arsinh}\left (\frac {e x}{\sqrt {d e}}\right )}{2 \, \sqrt {e}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \sqrt {e\,x^2+d}\,\left (c\,x^4+b\,x^2+a\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 12.27, size = 272, normalized size = 2.06 \[ \frac {a \sqrt {d} x \sqrt {1 + \frac {e x^{2}}{d}}}{2} + \frac {a d \operatorname {asinh}{\left (\frac {\sqrt {e} x}{\sqrt {d}} \right )}}{2 \sqrt {e}} + \frac {b d^{\frac {3}{2}} x}{8 e \sqrt {1 + \frac {e x^{2}}{d}}} + \frac {3 b \sqrt {d} x^{3}}{8 \sqrt {1 + \frac {e x^{2}}{d}}} - \frac {b d^{2} \operatorname {asinh}{\left (\frac {\sqrt {e} x}{\sqrt {d}} \right )}}{8 e^{\frac {3}{2}}} + \frac {b e x^{5}}{4 \sqrt {d} \sqrt {1 + \frac {e x^{2}}{d}}} - \frac {c d^{\frac {5}{2}} x}{16 e^{2} \sqrt {1 + \frac {e x^{2}}{d}}} - \frac {c d^{\frac {3}{2}} x^{3}}{48 e \sqrt {1 + \frac {e x^{2}}{d}}} + \frac {5 c \sqrt {d} x^{5}}{24 \sqrt {1 + \frac {e x^{2}}{d}}} + \frac {c d^{3} \operatorname {asinh}{\left (\frac {\sqrt {e} x}{\sqrt {d}} \right )}}{16 e^{\frac {5}{2}}} + \frac {c e x^{7}}{6 \sqrt {d} \sqrt {1 + \frac {e x^{2}}{d}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________